<script type="text/javascript"><!--
$(function() {
	$('.display').css('display', 'none')
	btnhtml = "\x3Cdiv class=\"list\" onclick=\"display(\'list\');\"\x3E\x3C\x2Fdiv\x3E\x3Cdiv class=\"grid\" onclick=\"display(\'grid\');\"\x3E\x3C\x2Fdiv\x3E";
	$('.display').replaceWith(btnhtml);

	$('div .list').bind('click', btndisplay);
	$('div .grid').bind('click', btndisplay);
	btndisplay();
});

function btndisplay() {
	var view = $.cookie('display');
	
	if (view == 'list') {
		$('div .list').addClass('list-active');
		$('div .grid').removeClass('grid-active');
	} else {
		$('div .grid').addClass('grid-active');
		$('div .list').removeClass('list-active');	
	}
}
//--></script>
<script type="text/javascript"><!--
$(function(){$("#quantity").parent().children().css("vertical-align","middle")});function btnminus(a){document.getElementById("quantity").value>a?document.getElementById("quantity").value--:document.getElementById("quantity").value=a}function btnplus(){document.getElementById("quantity").value++};
//--></script>
<div id="footer">
	<ul>
		<li><a href="<?php echo $home; ?>"><?php echo $text_home; ?></a></li>
		<li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
	</ul>
<div>
	<p> <?php echo $text_address; ?><?php echo nl2br($this->config->get('config_address')); ?></p>
	<p><?php echo $powered; ?></p>
</div>

 </div>

  
</body></html>